import request from '@/utils/request'

// 查询第三方合作列表
export function listFundCooperation(query) {
  return request({
    url: '/cooperation/fundCooperation/list',
    method: 'get',
    params: query
  })
}

// 查询第三方合作详细
export function getFundCooperation(id) {
  return request({
    url: '/cooperation/fundCooperation/' + id,
    method: 'get'
  })
}

// 保存第三方合作
export function saveFundCooperation(data) {
  return request({
    url: '/cooperation/fundCooperation/save',
    method: 'post',
    data: data
  })
}

// 删除第三方合作
export function delFundCooperation(id) {
  return request({
    url: '/cooperation/fundCooperation/' + id,
    method: 'delete'
  })
}
